<style>
span {
    padding-left: 20px;
    padding-right: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: red;
    border: 3px solid black;
    color: white;
}
</style>
<div>
    <span>Hello friends!</span>
    <span>This span has padding!</span>
</div>
